package com.pattern.claims.status;


import com.pattern.claims.base.BaseAbstractLink;
import com.pattern.claims.base.ClaimsEnum;

/**
 * Created by 峥桂 on 2017/6/9
 */
public class InputDataLink extends BaseAbstractLink {
    //认领环节-认领初审完毕的理赔
    public void taskClaim(){
        //设置为录入中
        if(checkCurrentStatus(ClaimsEnum.FirstAudit_Finished.getKey())){
            System.out.println("认领==设置为录入中");
        }
    }

    //理赔处理环节
    public void taskHandler(){
        //如果是问题件则设置问题
        //否则为完毕
    }

    //理赔处理问题环节
    public void taskProblem(){
        if(checkCurrentStatus(ClaimsEnum.Inputting_Question.getKey())){
            System.out.println("录入环节-问题");
        }
    }

    //理赔处理完毕环节
    public void taskFinished(){
        //设置为录入完毕-录入完成待审核认领
        if(checkCurrentStatus(ClaimsEnum.Inputting_Finished.getKey())){
            System.out.println("录入完成待审核认领");
        }
    }
}
